import request from '@/utils/request'
import { encryptionData } from '@/utils/com'

/* 字典查询 */
export function getProductUnitType(data) {
  return request({
    url: `/jcdPub/dict/type/${data.type}`,
    method: 'get',
    headers: encryptionData(data, `/dict/type/${data.type}`),
    params: data
  })
}
